﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="SizeTemplete.aspx.cs" Inherits="AlbonWeb.Manager.SizeManager.SizeTemplete" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>Model Manager</title>
    <script src="/js/ADS.js" type="text/javascript"></script>
    <script src="/js/content.js" type="text/javascript"></script>
    <link href="/css/Content.css" rel="stylesheet" type="text/css" />
    <style type="text/css">
        html, body, form
        {
            height: 100%;
        }
    </style>
</head>
<body>
    <form id="form1" runat="server">
    <div class="rod_left">
    </div>
    <div class="rod_right">
    </div>
    <div class="main_contented">
        <div class="right_top">
            <span class="scon_word">Manager>>Size Manager</span>
        </div>
        <table width="750" border="0" class="table_add" cellpadding="0" cellspacing="0">
            <tr>
                <td colspan="2" class="content_title">
                    Size Manager
                </td>
            </tr>
            <tr class="data_lightcolor">
                <td style="width: 30%" align="right">
                    Item：<asp:DropDownList ID="ddlItem" runat="server" AutoPostBack="True" OnSelectedIndexChanged="ddlItem_SelectedIndexChanged">
                    </asp:DropDownList>
                </td>
                <td align="center">
                    <a href="TempleteDesign.aspx?styleid=<%=ddlItem.SelectedValue%>" onclick='return openDialog(this.href,600,750)'>Templete Design</a>
                </td>
            </tr>
            <tr class="data_darkcolor">
                <td colspan="2">
                </td>
            </tr>
            <tr class="data_lightcolor">
                <td colspan="2" align="center">
                    <table width="99%" cellpadding="0" cellspacing="0" border="1" bordercolor="#AFDA8C"
                        class="tb_list">
                        <asp:Repeater ID="repMain" runat="server">
                            <HeaderTemplate>
                                <tr class="tr_list_head">
                                    <td>
                                        <input type="checkbox" />
                                    </td>
                                    <td >
                                        Size Item Name
                                    </td>
                                    <td>
                                        CN Name
                                    </td>
                                    <td>
                                        Body Status
                                    </td>
                                    <td>
                                        Finished Status
                                    </td>
                                    <td>
                                        createDate
                                    </td>
                                </tr>
                            </HeaderTemplate>
                            <ItemTemplate>
                                <tr class="tr_list_content">
                                    <td>
                                        <input type="checkbox" />
                                    </td>
                                    <td>
                                        <%#Eval("itemName") %>
                                    </td>
                                    <td>
                                        <%#Eval("cnName") %>
                                    </td>
                                    <td>
                                        <input type="text" disabled="disabled" class='<%#(int.Parse(Eval("bodyStatus").ToString())==1)?"must":(int.Parse(Eval("bodyStatus").ToString())==0)?"can":"cannot"%>' />
                                    </td>
                                    <td>
                                        <input type="text" disabled="disabled"
                                         class='<%#(int.Parse(Eval("finishedStatus").ToString())==1)?"must":(int.Parse(Eval("finishedStatus").ToString())==0)?"can":"cannot"%>' />
                                    </td>
                                    <td>
                                        <%#Eval("createDate")%>
                                    </td>
                                </tr>
                            </ItemTemplate>
                        </asp:Repeater>
                    </table>
                </td>
            </tr>
        </table>
    </div>
    </form>
</body>
</html>
